<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>增加栏目</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <script type="text/javascript" src="https://cdn.bootcss.com/jquery/1.8.3/jquery.js"></script>
        <script type="text/javascript">
            function tj() {
                var column_name = $("#column_name").val();
                var column_intr = $("#column_intr").val();
                $.post("db_controll.php", {"column_name": column_name, "column_intr": column_intr, "method": "add_forum"}, function (data) {
                    alert(data);
                });
            }
        </script>
    </head>
    <body>
        栏目名称：<input type="text" id="column_name">
        <br> <br>
        栏目简介：<textarea id="column_intr" cols="20"></textarea>
        <br> <br>
        栏目状态：
        <input type="radio" name="column_pic">
        <br> <br>
        <button type="button" onclick="tj()">提交</button>
    </body>
</html>
